#ifndef RECEIVECONTROLPOINTLISTCMD_H
#define RECEIVECONTROLPOINTLISTCMD_H

#include "Command/BaseCmd.h"
#include "DataType/ControlPointStruct.h"
#include "Protocol/ZigbeeControlProtocol.h"

class ReceiveControlPointListCmd : public BaseCmd
{
        Q_OBJECT
public:
    Q_INVOKABLE explicit ReceiveControlPointListCmd(QObject *parent = 0);
    enum{FunctionCode = ZigbeeControlProtocol::ReceiveControlPointList};

    Package toPackage();
    void unPackage(Package package);

    QList<ControlPointStruct> controlPointList() const;
    void setControlPointList(const QList<ControlPointStruct> &controlPointList);

private:
    QList<ControlPointStruct> m_controlPointList;
};

#endif // RECEIVECONTROLPOINTLISTCMD_H
